﻿using System.ComponentModel;

namespace Pay.DTO
{
	/// <summary>
	/// 支付类型
	/// </summary>
	public enum PayCategoryEnum
	{
		/// <summary>
		/// 支付宝
		/// </summary>
		[Description("支付宝")]
		AliPay = 1,

		/// <summary>
		/// 微信
		/// </summary>
		[Description("微信")]
		WechatPay = 2,

		/// <summary>
		/// 银行卡
		/// </summary>
		[Description("银行卡")]
		BandCardPay = 3,
	}

	/// <summary>
	/// 支付渠道
	/// </summary>
	public enum PaySourceEnum
	{
		/// <summary>
		/// 公众号
		/// </summary>
		[Description("公众号")]
		Public = 1,

		/// <summary>
		/// 小程序
		/// </summary>
		[Description("小程序")]
		Miniprogram = 2,

		/// <summary>
		/// 移动应用APP
		/// </summary>
		[Description("移动应用APP")]
		App = 3,

		/// <summary>
		/// 电脑端网页
		/// </summary>
		[Description("电脑端网页")]
		PCWeb = 4,

		/// <summary>
		/// 手机端网页或H5
		/// </summary>
		[Description("手机端网页或H5")]
		MobileWeb = 5,

		/// <summary>
		/// 二维码扫码(消费者主动扫码)
		/// </summary>
		[Description("二维码扫码(消费者主动扫码)")]
		QRCode = 6,

		/// <summary>
		/// 刷码(商家扫码)
		/// </summary>
		[Description("刷码(商家扫码)")]
		PassiveCode = 7,

		/// <summary>
		/// 其他支付渠道
		/// </summary>
		[Description("其他支付渠道")]
		Other = 20
	}
}